<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box1 {
            width: 466px;
            height: 214px;
            margin-left: 100px;
            /* border: 50px  solid tan; */
            border-width: 51px;
            border-style: double;
            border-image: url(img/屏幕截图\(1\).png) 172 repeat;

        }

        .box2 {
            width: 455px;
            height: 210px;
            margin-left: 100px;
            border: 30px solid #000;
            border-image: url(img/屏幕截图\(7\).png) 46 repeat;
        }

        .box3 {
            width: 1000px;
            height: 150px;
            background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
        }
    </style>
</head>

<body>
    <div class="box1"></div>
    <div class="box2"></div>
    <div class="box3"></div>
</body>

</html>